<div id="footer" class="navbar">
	<div class="navbar-inner">
		<div class="container-fluid">
		</div>
	</div>
</div>
<script>
mainContent_width = $("#mainContent").width();
</script>
{{$this->Html->script(array(
			'jquery/jquery-ui-1.10.3.custom.min.js',
			'bootstrap.min.js','jquery/validator.js',
        ))}}

{{$this->Html->script(array(
			'bootstrap-affix.js',
			'jquery/jquery.jgrowl.min.js',
			'jquery/chosen.jquery.js',
			'jquery/ajax-chosen.min.js',
			'jquery/jquery.uniform.min.js',
			'jquery/jquery.colorbox.min.js',
			'jquery/jquery.autogrow-textarea.js',
			'jquery/jquery.history.js',			
))}}

{{if preg_match('/MSIE 6.0/i',$_SERVER['HTTP_USER_AGENT'])}}
<!--[if lte IE 6]>
{{$this->Html->script(array('bootstrap-ie.js'))}}
<![endif]-->
{{else}}
	{{$this->Html->script(array('charisma.js'))}}
{{/if}}


{{$this->Html->script(array(
			'ckeditor/ckeditor.js',
			'editor.js',
        ))}}
{{$this->Combinator->script(array(
	'swfupload/swfupload.js',
	'swfupload/swfupload.queue.js',
	'swfupload/swfupload.cookies.js',
	'swfupload/fileprogress.js',
	'swfupload/handlers.js'
))}}        
<!-- helper中追加的底部脚本 $this->_View->append('bottomscript',$script);-->
{{$this->fetch('bottomscript')}}
</body>
</html>